<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>Page Title</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <style>
#mydiv {  

position:absolute;

border:1px solid red;

padding: 0 20% 20% 0;

  } 
  </style>
</head>
<body>
  <div class="square">
    <div class="content">
      Hello!
    </div>
  </div><div id="mydiv"></div>
</body>
</html>